package cn.aitrox.ry.service.anno.remote.imageService.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ImageServiceRespDto<T> {

    private Integer code;

    private String msg;

    private T data;

    public Boolean _isOk() {
        return code != null && code == 0;
    }
}
